<?php

namespace Page\Traits;

trait RTLTrait
{

    private $rtlCharacters = [
        '0005BE',
        '0005C0',
        '0005C3',
        '0005C6',
        '0005D0',
        '0005D1',
        '0005D2',
        '0005D3',
        '0005D4',
        '0005D5',
        '0005D6',
        '0005D7',
        '0005D8',
        '0005D9',
        '0005DA',
        '0005DB',
        '0005DC',
        '0005DD',
        '0005DE',
        '0005DF',
        '0005E0',
        '0005E1',
        '0005E2',
        '0005E3',
        '0005E4',
        '0005E5',
        '0005E6',
        '0005E7',
        '0005E8',
        '0005E9',
        '0005EA',
        '0005F0',
        '0005F1',
        '0005F2',
        '0005F3',
        '0005F4',
        '000608',
        '00060B',
        '00060D',
        '00061B',
        '00061E',
        '00061F',
        '000620',
        '000621',
        '000622',
        '000623',
        '000624',
        '000625',
        '000626',
        '000627',
        '000628',
        '000629',
        '00062A',
        '00062B',
        '00062C',
        '00062D',
        '00062E',
        '00062F',
        '000630',
        '000631',
        '000632',
        '000633',
        '000634',
        '000635',
        '000636',
        '000637',
        '000638',
        '000639',
        '00063A',
        '00063B',
        '00063C',
        '00063D',
        '00063E',
        '00063F',
        '000640',
        '000641',
        '000642',
        '000643',
        '000644',
        '000645',
        '000646',
        '000647',
        '000648',
        '000649',
        '00064A',
        '00066D',
        '00066E',
        '00066F',
        '000671',
        '000672',
        '000673',
        '000674',
        '000675',
        '000676',
        '000677',
        '000678',
        '000679',
        '00067A',
        '00067B',
        '00067C',
        '00067D',
        '00067E',
        '00067F',
        '000680',
        '000681',
        '000682',
        '000683',
        '000684',
        '000685',
        '000686',
        '000687',
        '000688',
        '000689',
        '00068A',
        '00068B',
        '00068C',
        '00068D',
        '00068E',
        '00068F',
        '000690',
        '000691',
        '000692',
        '000693',
        '000694',
        '000695',
        '000696',
        '000697',
        '000698',
        '000699',
        '00069A',
        '00069B',
        '00069C',
        '00069D',
        '00069E',
        '00069F',
        '0006A0',
        '0006A1',
        '0006A2',
        '0006A3',
        '0006A4',
        '0006A5',
        '0006A6',
        '0006A7',
        '0006A8',
        '0006A9',
        '0006AA',
        '0006AB',
        '0006AC',
        '0006AD',
        '0006AE',
        '0006AF',
        '0006B0',
        '0006B1',
        '0006B2',
        '0006B3',
        '0006B4',
        '0006B5',
        '0006B6',
        '0006B7',
        '0006B8',
        '0006B9',
        '0006BA',
        '0006BB',
        '0006BC',
        '0006BD',
        '0006BE',
        '0006BF',
        '0006C0',
        '0006C1',
        '0006C2',
        '0006C3',
        '0006C4',
        '0006C5',
        '0006C6',
        '0006C7',
        '0006C8',
        '0006C9',
        '0006CA',
        '0006CB',
        '0006CC',
        '0006CD',
        '0006CE',
        '0006CF',
        '0006D0',
        '0006D1',
        '0006D2',
        '0006D3',
        '0006D4',
        '0006D5',
        '0006E5',
        '0006E6',
        '0006EE',
        '0006EF',
        '0006FA',
        '0006FB',
        '0006FC',
        '0006FD',
        '0006FE',
        '0006FF',
        '000700',
        '000701',
        '000702',
        '000703',
        '000704',
        '000705',
        '000706',
        '000707',
        '000708',
        '000709',
        '00070A',
        '00070B',
        '00070C',
        '00070D',
        '000710',
        '000712',
        '000713',
        '000714',
        '000715',
        '000716',
        '000717',
        '000718',
        '000719',
        '00071A',
        '00071B',
        '00071C',
        '00071D',
        '00071E',
        '00071F',
        '000720',
        '000721',
        '000722',
        '000723',
        '000724',
        '000725',
        '000726',
        '000727',
        '000728',
        '000729',
        '00072A',
        '00072B',
        '00072C',
        '00072D',
        '00072E',
        '00072F',
        '00074D',
        '00074E',
        '00074F',
        '000750',
        '000751',
        '000752',
        '000753',
        '000754',
        '000755',
        '000756',
        '000757',
        '000758',
        '000759',
        '00075A',
        '00075B',
        '00075C',
        '00075D',
        '00075E',
        '00075F',
        '000760',
        '000761',
        '000762',
        '000763',
        '000764',
        '000765',
        '000766',
        '000767',
        '000768',
        '000769',
        '00076A',
        '00076B',
        '00076C',
        '00076D',
        '00076E',
        '00076F',
        '000770',
        '000771',
        '000772',
        '000773',
        '000774',
        '000775',
        '000776',
        '000777',
        '000778',
        '000779',
        '00077A',
        '00077B',
        '00077C',
        '00077D',
        '00077E',
        '00077F',
        '000780',
        '000781',
        '000782',
        '000783',
        '000784',
        '000785',
        '000786',
        '000787',
        '000788',
        '000789',
        '00078A',
        '00078B',
        '00078C',
        '00078D',
        '00078E',
        '00078F',
        '000790',
        '000791',
        '000792',
        '000793',
        '000794',
        '000795',
        '000796',
        '000797',
        '000798',
        '000799',
        '00079A',
        '00079B',
        '00079C',
        '00079D',
        '00079E',
        '00079F',
        '0007A0',
        '0007A1',
        '0007A2',
        '0007A3',
        '0007A4',
        '0007A5',
        '0007B1',
        '0007C0',
        '0007C1',
        '0007C2',
        '0007C3',
        '0007C4',
        '0007C5',
        '0007C6',
        '0007C7',
        '0007C8',
        '0007C9',
        '0007CA',
        '0007CB',
        '0007CC',
        '0007CD',
        '0007CE',
        '0007CF',
        '0007D0',
        '0007D1',
        '0007D2',
        '0007D3',
        '0007D4',
        '0007D5',
        '0007D6',
        '0007D7',
        '0007D8',
        '0007D9',
        '0007DA',
        '0007DB',
        '0007DC',
        '0007DD',
        '0007DE',
        '0007DF',
        '0007E0',
        '0007E1',
        '0007E2',
        '0007E3',
        '0007E4',
        '0007E5',
        '0007E6',
        '0007E7',
        '0007E8',
        '0007E9',
        '0007EA',
        '0007F4',
        '0007F5',
        '0007FA',
        '000800',
        '000801',
        '000802',
        '000803',
        '000804',
        '000805',
        '000806',
        '000807',
        '000808',
        '000809',
        '00080A',
        '00080B',
        '00080C',
        '00080D',
        '00080E',
        '00080F',
        '000810',
        '000811',
        '000812',
        '000813',
        '000814',
        '000815',
        '00081A',
        '000824',
        '000828',
        '000830',
        '000831',
        '000832',
        '000833',
        '000834',
        '000835',
        '000836',
        '000837',
        '000838',
        '000839',
        '00083A',
        '00083B',
        '00083C',
        '00083D',
        '00083E',
        '000840',
        '000841',
        '000842',
        '000843',
        '000844',
        '000845',
        '000846',
        '000847',
        '000848',
        '000849',
        '00084A',
        '00084B',
        '00084C',
        '00084D',
        '00084E',
        '00084F',
        '000850',
        '000851',
        '000852',
        '000853',
        '000854',
        '000855',
        '000856',
        '000857',
        '000858',
        '00085E',
        '00200F',
        '00FB1D',
        '00FB1F',
        '00FB20',
        '00FB21',
        '00FB22',
        '00FB23',
        '00FB24',
        '00FB25',
        '00FB26',
        '00FB27',
        '00FB28',
        '00FB2A',
        '00FB2B',
        '00FB2C',
        '00FB2D',
        '00FB2E',
        '00FB2F',
        '00FB30',
        '00FB31',
        '00FB32',
        '00FB33',
        '00FB34',
        '00FB35',
        '00FB36',
        '00FB38',
        '00FB39',
        '00FB3A',
        '00FB3B',
        '00FB3C',
        '00FB3E',
        '00FB40',
        '00FB41',
        '00FB43',
        '00FB44',
        '00FB46',
        '00FB47',
        '00FB48',
        '00FB49',
        '00FB4A',
        '00FB4B',
        '00FB4C',
        '00FB4D',
        '00FB4E',
        '00FB4F',
        '00FB50',
        '00FB51',
        '00FB52',
        '00FB53',
        '00FB54',
        '00FB55',
        '00FB56',
        '00FB57',
        '00FB58',
        '00FB59',
        '00FB5A',
        '00FB5B',
        '00FB5C',
        '00FB5D',
        '00FB5E',
        '00FB5F',
        '00FB60',
        '00FB61',
        '00FB62',
        '00FB63',
        '00FB64',
        '00FB65',
        '00FB66',
        '00FB67',
        '00FB68',
        '00FB69',
        '00FB6A',
        '00FB6B',
        '00FB6C',
        '00FB6D',
        '00FB6E',
        '00FB6F',
        '00FB70',
        '00FB71',
        '00FB72',
        '00FB73',
        '00FB74',
        '00FB75',
        '00FB76',
        '00FB77',
        '00FB78',
        '00FB79',
        '00FB7A',
        '00FB7B',
        '00FB7C',
        '00FB7D',
        '00FB7E',
        '00FB7F',
        '00FB80',
        '00FB81',
        '00FB82',
        '00FB83',
        '00FB84',
        '00FB85',
        '00FB86',
        '00FB87',
        '00FB88',
        '00FB89',
        '00FB8A',
        '00FB8B',
        '00FB8C',
        '00FB8D',
        '00FB8E',
        '00FB8F',
        '00FB90',
        '00FB91',
        '00FB92',
        '00FB93',
        '00FB94',
        '00FB95',
        '00FB96',
        '00FB97',
        '00FB98',
        '00FB99',
        '00FB9A',
        '00FB9B',
        '00FB9C',
        '00FB9D',
        '00FB9E',
        '00FB9F',
        '00FBA0',
        '00FBA1',
        '00FBA2',
        '00FBA3',
        '00FBA4',
        '00FBA5',
        '00FBA6',
        '00FBA7',
        '00FBA8',
        '00FBA9',
        '00FBAA',
        '00FBAB',
        '00FBAC',
        '00FBAD',
        '00FBAE',
        '00FBAF',
        '00FBB0',
        '00FBB1',
        '00FBB2',
        '00FBB3',
        '00FBB4',
        '00FBB5',
        '00FBB6',
        '00FBB7',
        '00FBB8',
        '00FBB9',
        '00FBBA',
        '00FBBB',
        '00FBBC',
        '00FBBD',
        '00FBBE',
        '00FBBF',
        '00FBC0',
        '00FBC1',
        '00FBD3',
        '00FBD4',
        '00FBD5',
        '00FBD6',
        '00FBD7',
        '00FBD8',
        '00FBD9',
        '00FBDA',
        '00FBDB',
        '00FBDC',
        '00FBDD',
        '00FBDE',
        '00FBDF',
        '00FBE0',
        '00FBE1',
        '00FBE2',
        '00FBE3',
        '00FBE4',
        '00FBE5',
        '00FBE6',
        '00FBE7',
        '00FBE8',
        '00FBE9',
        '00FBEA',
        '00FBEB',
        '00FBEC',
        '00FBED',
        '00FBEE',
        '00FBEF',
        '00FBF0',
        '00FBF1',
        '00FBF2',
        '00FBF3',
        '00FBF4',
        '00FBF5',
        '00FBF6',
        '00FBF7',
        '00FBF8',
        '00FBF9',
        '00FBFA',
        '00FBFB',
        '00FBFC',
        '00FBFD',
        '00FBFE',
        '00FBFF',
        '00FC00',
        '00FC01',
        '00FC02',
        '00FC03',
        '00FC04',
        '00FC05',
        '00FC06',
        '00FC07',
        '00FC08',
        '00FC09',
        '00FC0A',
        '00FC0B',
        '00FC0C',
        '00FC0D',
        '00FC0E',
        '00FC0F',
        '00FC10',
        '00FC11',
        '00FC12',
        '00FC13',
        '00FC14',
        '00FC15',
        '00FC16',
        '00FC17',
        '00FC18',
        '00FC19',
        '00FC1A',
        '00FC1B',
        '00FC1C',
        '00FC1D',
        '00FC1E',
        '00FC1F',
        '00FC20',
        '00FC21',
        '00FC22',
        '00FC23',
        '00FC24',
        '00FC25',
        '00FC26',
        '00FC27',
        '00FC28',
        '00FC29',
        '00FC2A',
        '00FC2B',
        '00FC2C',
        '00FC2D',
        '00FC2E',
        '00FC2F',
        '00FC30',
        '00FC31',
        '00FC32',
        '00FC33',
        '00FC34',
        '00FC35',
        '00FC36',
        '00FC37',
        '00FC38',
        '00FC39',
        '00FC3A',
        '00FC3B',
        '00FC3C',
        '00FC3D',
        '00FC3E',
        '00FC3F',
        '00FC40',
        '00FC41',
        '00FC42',
        '00FC43',
        '00FC44',
        '00FC45',
        '00FC46',
        '00FC47',
        '00FC48',
        '00FC49',
        '00FC4A',
        '00FC4B',
        '00FC4C',
        '00FC4D',
        '00FC4E',
        '00FC4F',
        '00FC50',
        '00FC51',
        '00FC52',
        '00FC53',
        '00FC54',
        '00FC55',
        '00FC56',
        '00FC57',
        '00FC58',
        '00FC59',
        '00FC5A',
        '00FC5B',
        '00FC5C',
        '00FC5D',
        '00FC5E',
        '00FC5F',
        '00FC60',
        '00FC61',
        '00FC62',
        '00FC63',
        '00FC64',
        '00FC65',
        '00FC66',
        '00FC67',
        '00FC68',
        '00FC69',
        '00FC6A',
        '00FC6B',
        '00FC6C',
        '00FC6D',
        '00FC6E',
        '00FC6F',
        '00FC70',
        '00FC71',
        '00FC72',
        '00FC73',
        '00FC74',
        '00FC75',
        '00FC76',
        '00FC77',
        '00FC78',
        '00FC79',
        '00FC7A',
        '00FC7B',
        '00FC7C',
        '00FC7D',
        '00FC7E',
        '00FC7F',
        '00FC80',
        '00FC81',
        '00FC82',
        '00FC83',
        '00FC84',
        '00FC85',
        '00FC86',
        '00FC87',
        '00FC88',
        '00FC89',
        '00FC8A',
        '00FC8B',
        '00FC8C',
        '00FC8D',
        '00FC8E',
        '00FC8F',
        '00FC90',
        '00FC91',
        '00FC92',
        '00FC93',
        '00FC94',
        '00FC95',
        '00FC96',
        '00FC97',
        '00FC98',
        '00FC99',
        '00FC9A',
        '00FC9B',
        '00FC9C',
        '00FC9D',
        '00FC9E',
        '00FC9F',
        '00FCA0',
        '00FCA1',
        '00FCA2',
        '00FCA3',
        '00FCA4',
        '00FCA5',
        '00FCA6',
        '00FCA7',
        '00FCA8',
        '00FCA9',
        '00FCAA',
        '00FCAB',
        '00FCAC',
        '00FCAD',
        '00FCAE',
        '00FCAF',
        '00FCB0',
        '00FCB1',
        '00FCB2',
        '00FCB3',
        '00FCB4',
        '00FCB5',
        '00FCB6',
        '00FCB7',
        '00FCB8',
        '00FCB9',
        '00FCBA',
        '00FCBB',
        '00FCBC',
        '00FCBD',
        '00FCBE',
        '00FCBF',
        '00FCC0',
        '00FCC1',
        '00FCC2',
        '00FCC3',
        '00FCC4',
        '00FCC5',
        '00FCC6',
        '00FCC7',
        '00FCC8',
        '00FCC9',
        '00FCCA',
        '00FCCB',
        '00FCCC',
        '00FCCD',
        '00FCCE',
        '00FCCF',
        '00FCD0',
        '00FCD1',
        '00FCD2',
        '00FCD3',
        '00FCD4',
        '00FCD5',
        '00FCD6',
        '00FCD7',
        '00FCD8',
        '00FCD9',
        '00FCDA',
        '00FCDB',
        '00FCDC',
        '00FCDD',
        '00FCDE',
        '00FCDF',
        '00FCE0',
        '00FCE1',
        '00FCE2',
        '00FCE3',
        '00FCE4',
        '00FCE5',
        '00FCE6',
        '00FCE7',
        '00FCE8',
        '00FCE9',
        '00FCEA',
        '00FCEB',
        '00FCEC',
        '00FCED',
        '00FCEE',
        '00FCEF',
        '00FCF0',
        '00FCF1',
        '00FCF2',
        '00FCF3',
        '00FCF4',
        '00FCF5',
        '00FCF6',
        '00FCF7',
        '00FCF8',
        '00FCF9',
        '00FCFA',
        '00FCFB',
        '00FCFC',
        '00FCFD',
        '00FCFE',
        '00FCFF',
        '00FD00',
        '00FD01',
        '00FD02',
        '00FD03',
        '00FD04',
        '00FD05',
        '00FD06',
        '00FD07',
        '00FD08',
        '00FD09',
        '00FD0A',
        '00FD0B',
        '00FD0C',
        '00FD0D',
        '00FD0E',
        '00FD0F',
        '00FD10',
        '00FD11',
        '00FD12',
        '00FD13',
        '00FD14',
        '00FD15',
        '00FD16',
        '00FD17',
        '00FD18',
        '00FD19',
        '00FD1A',
        '00FD1B',
        '00FD1C',
        '00FD1D',
        '00FD1E',
        '00FD1F',
        '00FD20',
        '00FD21',
        '00FD22',
        '00FD23',
        '00FD24',
        '00FD25',
        '00FD26',
        '00FD27',
        '00FD28',
        '00FD29',
        '00FD2A',
        '00FD2B',
        '00FD2C',
        '00FD2D',
        '00FD2E',
        '00FD2F',
        '00FD30',
        '00FD31',
        '00FD32',
        '00FD33',
        '00FD34',
        '00FD35',
        '00FD36',
        '00FD37',
        '00FD38',
        '00FD39',
        '00FD3A',
        '00FD3B',
        '00FD3C',
        '00FD3D',
        '00FD50',
        '00FD51',
        '00FD52',
        '00FD53',
        '00FD54',
        '00FD55',
        '00FD56',
        '00FD57',
        '00FD58',
        '00FD59',
        '00FD5A',
        '00FD5B',
        '00FD5C',
        '00FD5D',
        '00FD5E',
        '00FD5F',
        '00FD60',
        '00FD61',
        '00FD62',
        '00FD63',
        '00FD64',
        '00FD65',
        '00FD66',
        '00FD67',
        '00FD68',
        '00FD69',
        '00FD6A',
        '00FD6B',
        '00FD6C',
        '00FD6D',
        '00FD6E',
        '00FD6F',
        '00FD70',
        '00FD71',
        '00FD72',
        '00FD73',
        '00FD74',
        '00FD75',
        '00FD76',
        '00FD77',
        '00FD78',
        '00FD79',
        '00FD7A',
        '00FD7B',
        '00FD7C',
        '00FD7D',
        '00FD7E',
        '00FD7F',
        '00FD80',
        '00FD81',
        '00FD82',
        '00FD83',
        '00FD84',
        '00FD85',
        '00FD86',
        '00FD87',
        '00FD88',
        '00FD89',
        '00FD8A',
        '00FD8B',
        '00FD8C',
        '00FD8D',
        '00FD8E',
        '00FD8F',
        '00FD92',
        '00FD93',
        '00FD94',
        '00FD95',
        '00FD96',
        '00FD97',
        '00FD98',
        '00FD99',
        '00FD9A',
        '00FD9B',
        '00FD9C',
        '00FD9D',
        '00FD9E',
        '00FD9F',
        '00FDA0',
        '00FDA1',
        '00FDA2',
        '00FDA3',
        '00FDA4',
        '00FDA5',
        '00FDA6',
        '00FDA7',
        '00FDA8',
        '00FDA9',
        '00FDAA',
        '00FDAB',
        '00FDAC',
        '00FDAD',
        '00FDAE',
        '00FDAF',
        '00FDB0',
        '00FDB1',
        '00FDB2',
        '00FDB3',
        '00FDB4',
        '00FDB5',
        '00FDB6',
        '00FDB7',
        '00FDB8',
        '00FDB9',
        '00FDBA',
        '00FDBB',
        '00FDBC',
        '00FDBD',
        '00FDBE',
        '00FDBF',
        '00FDC0',
        '00FDC1',
        '00FDC2',
        '00FDC3',
        '00FDC4',
        '00FDC5',
        '00FDC6',
        '00FDC7',
        '00FDF0',
        '00FDF1',
        '00FDF2',
        '00FDF3',
        '00FDF4',
        '00FDF5',
        '00FDF6',
        '00FDF7',
        '00FDF8',
        '00FDF9',
        '00FDFA',
        '00FDFB',
        '00FDFC',
        '00FE70',
        '00FE71',
        '00FE72',
        '00FE73',
        '00FE74',
        '00FE76',
        '00FE77',
        '00FE78',
        '00FE79',
        '00FE7A',
        '00FE7B',
        '00FE7C',
        '00FE7D',
        '00FE7E',
        '00FE7F',
        '00FE80',
        '00FE81',
        '00FE82',
        '00FE83',
        '00FE84',
        '00FE85',
        '00FE86',
        '00FE87',
        '00FE88',
        '00FE89',
        '00FE8A',
        '00FE8B',
        '00FE8C',
        '00FE8D',
        '00FE8E',
        '00FE8F',
        '00FE90',
        '00FE91',
        '00FE92',
        '00FE93',
        '00FE94',
        '00FE95',
        '00FE96',
        '00FE97',
        '00FE98',
        '00FE99',
        '00FE9A',
        '00FE9B',
        '00FE9C',
        '00FE9D',
        '00FE9E',
        '00FE9F',
        '00FEA0',
        '00FEA1',
        '00FEA2',
        '00FEA3',
        '00FEA4',
        '00FEA5',
        '00FEA6',
        '00FEA7',
        '00FEA8',
        '00FEA9',
        '00FEAA',
        '00FEAB',
        '00FEAC',
        '00FEAD',
        '00FEAE',
        '00FEAF',
        '00FEB0',
        '00FEB1',
        '00FEB2',
        '00FEB3',
        '00FEB4',
        '00FEB5',
        '00FEB6',
        '00FEB7',
        '00FEB8',
        '00FEB9',
        '00FEBA',
        '00FEBB',
        '00FEBC',
        '00FEBD',
        '00FEBE',
        '00FEBF',
        '00FEC0',
        '00FEC1',
        '00FEC2',
        '00FEC3',
        '00FEC4',
        '00FEC5',
        '00FEC6',
        '00FEC7',
        '00FEC8',
        '00FEC9',
        '00FECA',
        '00FECB',
        '00FECC',
        '00FECD',
        '00FECE',
        '00FECF',
        '00FED0',
        '00FED1',
        '00FED2',
        '00FED3',
        '00FED4',
        '00FED5',
        '00FED6',
        '00FED7',
        '00FED8',
        '00FED9',
        '00FEDA',
        '00FEDB',
        '00FEDC',
        '00FEDD',
        '00FEDE',
        '00FEDF',
        '00FEE0',
        '00FEE1',
        '00FEE2',
        '00FEE3',
        '00FEE4',
        '00FEE5',
        '00FEE6',
        '00FEE7',
        '00FEE8',
        '00FEE9',
        '00FEEA',
        '00FEEB',
        '00FEEC',
        '00FEED',
        '00FEEE',
        '00FEEF',
        '00FEF0',
        '00FEF1',
        '00FEF2',
        '00FEF3',
        '00FEF4',
        '00FEF5',
        '00FEF6',
        '00FEF7',
        '00FEF8',
        '00FEF9',
        '00FEFA',
        '00FEFB',
        '00FEFC',
        '010800',
        '010801',
        '010802',
        '010803',
        '010804',
        '010805',
        '010808',
        '01080A',
        '01080B',
        '01080C',
        '01080D',
        '01080E',
        '01080F',
        '010810',
        '010811',
        '010812',
        '010813',
        '010814',
        '010815',
        '010816',
        '010817',
        '010818',
        '010819',
        '01081A',
        '01081B',
        '01081C',
        '01081D',
        '01081E',
        '01081F',
        '010820',
        '010821',
        '010822',
        '010823',
        '010824',
        '010825',
        '010826',
        '010827',
        '010828',
        '010829',
        '01082A',
        '01082B',
        '01082C',
        '01082D',
        '01082E',
        '01082F',
        '010830',
        '010831',
        '010832',
        '010833',
        '010834',
        '010835',
        '010837',
        '010838',
        '01083C',
        '01083F',
        '010840',
        '010841',
        '010842',
        '010843',
        '010844',
        '010845',
        '010846',
        '010847',
        '010848',
        '010849',
        '01084A',
        '01084B',
        '01084C',
        '01084D',
        '01084E',
        '01084F',
        '010850',
        '010851',
        '010852',
        '010853',
        '010854',
        '010855',
        '010857',
        '010858',
        '010859',
        '01085A',
        '01085B',
        '01085C',
        '01085D',
        '01085E',
        '01085F',
        '010900',
        '010901',
        '010902',
        '010903',
        '010904',
        '010905',
        '010906',
        '010907',
        '010908',
        '010909',
        '01090A',
        '01090B',
        '01090C',
        '01090D',
        '01090E',
        '01090F',
        '010910',
        '010911',
        '010912',
        '010913',
        '010914',
        '010915',
        '010916',
        '010917',
        '010918',
        '010919',
        '01091A',
        '01091B',
        '010920',
        '010921',
        '010922',
        '010923',
        '010924',
        '010925',
        '010926',
        '010927',
        '010928',
        '010929',
        '01092A',
        '01092B',
        '01092C',
        '01092D',
        '01092E',
        '01092F',
        '010930',
        '010931',
        '010932',
        '010933',
        '010934',
        '010935',
        '010936',
        '010937',
        '010938',
        '010939',
        '01093F',
        '010A00',
        '010A10',
        '010A11',
        '010A12',
        '010A13',
        '010A15',
        '010A16',
        '010A17',
        '010A19',
        '010A1A',
        '010A1B',
        '010A1C',
        '010A1D',
        '010A1E',
        '010A1F',
        '010A20',
        '010A21',
        '010A22',
        '010A23',
        '010A24',
        '010A25',
        '010A26',
        '010A27',
        '010A28',
        '010A29',
        '010A2A',
        '010A2B',
        '010A2C',
        '010A2D',
        '010A2E',
        '010A2F',
        '010A30',
        '010A31',
        '010A32',
        '010A33',
        '010A40',
        '010A41',
        '010A42',
        '010A43',
        '010A44',
        '010A45',
        '010A46',
        '010A47',
        '010A50',
        '010A51',
        '010A52',
        '010A53',
        '010A54',
        '010A55',
        '010A56',
        '010A57',
        '010A58',
        '010A60',
        '010A61',
        '010A62',
        '010A63',
        '010A64',
        '010A65',
        '010A66',
        '010A67',
        '010A68',
        '010A69',
        '010A6A',
        '010A6B',
        '010A6C',
        '010A6D',
        '010A6E',
        '010A6F',
        '010A70',
        '010A71',
        '010A72',
        '010A73',
        '010A74',
        '010A75',
        '010A76',
        '010A77',
        '010A78',
        '010A79',
        '010A7A',
        '010A7B',
        '010A7C',
        '010A7D',
        '010A7E',
        '010A7F',
        '010B00',
        '010B01',
        '010B02',
        '010B03',
        '010B04',
        '010B05',
        '010B06',
        '010B07',
        '010B08',
        '010B09',
        '010B0A',
        '010B0B',
        '010B0C',
        '010B0D',
        '010B0E',
        '010B0F',
        '010B10',
        '010B11',
        '010B12',
        '010B13',
        '010B14',
        '010B15',
        '010B16',
        '010B17',
        '010B18',
        '010B19',
        '010B1A',
        '010B1B',
        '010B1C',
        '010B1D',
        '010B1E',
        '010B1F',
        '010B20',
        '010B21',
        '010B22',
        '010B23',
        '010B24',
        '010B25',
        '010B26',
        '010B27',
        '010B28',
        '010B29',
        '010B2A',
        '010B2B',
        '010B2C',
        '010B2D',
        '010B2E',
        '010B2F',
        '010B30',
        '010B31',
        '010B32',
        '010B33',
        '010B34',
        '010B35',
        '010B40',
        '010B41',
        '010B42',
        '010B43',
        '010B44',
        '010B45',
        '010B46',
        '010B47',
        '010B48',
        '010B49',
        '010B4A',
        '010B4B',
        '010B4C',
        '010B4D',
        '010B4E',
        '010B4F',
        '010B50',
        '010B51',
        '010B52',
        '010B53',
        '010B54',
        '010B55',
        '010B58',
        '010B59',
        '010B5A',
        '010B5B',
        '010B5C',
        '010B5D',
        '010B5E',
        '010B5F',
        '010B60',
        '010B61',
        '010B62',
        '010B63',
        '010B64',
        '010B65',
        '010B66',
        '010B67',
        '010B68',
        '010B69',
        '010B6A',
        '010B6B',
        '010B6C',
        '010B6D',
        '010B6E',
        '010B6F',
        '010B70',
        '010B71',
        '010B72',
        '010B78',
        '010B79',
        '010B7A',
        '010B7B',
        '010B7C',
        '010B7D',
        '010B7E',
        '010B7F',
        '010C00',
        '010C01',
        '010C02',
        '010C03',
        '010C04',
        '010C05',
        '010C06',
        '010C07',
        '010C08',
        '010C09',
        '010C0A',
        '010C0B',
        '010C0C',
        '010C0D',
        '010C0E',
        '010C0F',
        '010C10',
        '010C11',
        '010C12',
        '010C13',
        '010C14',
        '010C15',
        '010C16',
        '010C17',
        '010C18',
        '010C19',
        '010C1A',
        '010C1B',
        '010C1C',
        '010C1D',
        '010C1E',
        '010C1F',
        '010C20',
        '010C21',
        '010C22',
        '010C23',
        '010C24',
        '010C25',
        '010C26',
        '010C27',
        '010C28',
        '010C29',
        '010C2A',
        '010C2B',
        '010C2C',
        '010C2D',
        '010C2E',
        '010C2F',
        '010C30',
        '010C31',
        '010C32',
        '010C33',
        '010C34',
        '010C35',
        '010C36',
        '010C37',
        '010C38',
        '010C39',
        '010C3A',
        '010C3B',
        '010C3C',
        '010C3D',
        '010C3E',
        '010C3F',
        '010C40',
        '010C41',
        '010C42',
        '010C43',
        '010C44',
        '010C45',
        '010C46',
        '010C47',
        '010C48'
    ];

    public function isRTL($testString)
    {
        $codePoints = unpack('V*', iconv('UTF-8', 'UTF-32LE', $testString));
        foreach ($codePoints as $codePoint) {
            $hexCode = strtoupper(str_pad(dechex($codePoint), 6, '0', STR_PAD_LEFT));
            if (array_search($hexCode, $this->rtlCharacters, true)) {
                return true;
            }
        }
        return false;
    }
}
